package org.jeecg.modules.error.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: ErrorRecord
 * @Author: jeecg-boot
 * @Date:   2019-06-04
 * @Version: V1.0
 */
@Data
@TableName("t_dex_error_record")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="t_dex_error_record对象", description="ErrorRecord")
public class ErrorRecord {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private java.lang.Integer id;
	/**错误类型*/
	@Excel(name = "错误类型", width = 15)
    @ApiModelProperty(value = "错误类型")
	private java.lang.Integer errorType;
	/**错误级别*/
	@Excel(name = "错误级别", width = 15)
    @ApiModelProperty(value = "错误级别")
	private java.lang.Integer errorLevel;
	/**错误类型*/
	@Excel(name = "错误类型", width = 15)
    @ApiModelProperty(value = "错误类型")
	private java.lang.String errorContext;
	/**错误标题*/
	@Excel(name = "错误标题", width = 15)
    @ApiModelProperty(value = "错误标题")
	private java.lang.String errorTitle;
	/**错误ip*/
	@Excel(name = "错误ip", width = 15)
    @ApiModelProperty(value = "错误ip")
	private java.lang.String errorServerIp;
	/**错误备注*/
	@Excel(name = "错误备注", width = 15)
    @ApiModelProperty(value = "错误备注")
	private java.lang.String errorMemo;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;
}
